.demo-relative {
  position: relative;
}

.css-filter-avater {
  width: 300px;
  height: 82px;
  background: url(~@/assets/img/ys.png) no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(10px 10px 4px rgba(0, 0, 0, .6));
  transition: all .6s ease;
  cursor: pointer;

  &:hover {
    filter:drop-shadow(10px 10px 0px rgba(0, 0, 0, .6));
  }
}

.css-filter-triangle {
  width: 0;
  height: 0;
  border: 10px solid;
  border-color: transparent transparent transparent yellowgreen;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, .6));
}

.css-filter-blur {
  filter: blur(2px);
  transition: all .4s ease;
  cursor: pointer;
  &:hover {
    filter: blur(0)
  }
}

.css-filter-bgdrop {
  width: 120px;
  height: 40px;
  position: absolute;
  left: 160px;
  top: 20px;
  border: solid 1px #e2e2e2;
  border-radius: 4px;
  background: transparent;
  backdrop-filter: blur(2px);
}

.css-filter-666-box {
  filter: contrast(20);
  padding-left: 30px;
  background: #fff;

  .css-filter-666 {
    font-size: 100px;
    color: #000;
    filter: blur(4px);
    transition: all .4s ease;
    cursor: pointer;

    &:hover {
      filter: blur(0);
    }
  }
} 

// filter样式 start ================

.css-filter-charge-box {
  width: 100%;
  height: 400px;
  background: #fff;
  padding-top: 30px;
  filter: contrast(35);
  animation: changeColor 5s infinite linear;

  .css-filter-number {
    font-size: 30px;
    font-weight: bold;
    width: 200px;
    position: absolute;
    left: 3.5%;
    top: 110px;
    z-index: 11;
    text-align: center;
  }

  .css-filter-circle {
    width: 300px;
    height: 300px;
    position: relative;
    filter: blur(9px);

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 10%;
      width: 200px;
      height: 200px;
      background: #00ff6f;
      border-radius: 42% 38% 63% 49% e('/') 45%;
      animation: rotate 5s infinite linear;
      
    }

    &:after {
      content: '';
      position: absolute;
      width: 176px;
      height: 176px;
      top: 0%;
      left: 10%;
      margin: 12px 0 0 12px;
      border-radius: 50%;
      background: #fff;
    }
  }

  .css-filter-bubbles {
    position: absolute;
    width: 120px;
    height: 20px;
    left: 80px;
    border-radius: 100px 100px 0 0  ;
    background: #00ff6f;
    filter: blur(10px);

    li {
      position: absolute;
      border-radius: 50%;
      background: #00ff6f;

      &:nth-child(1) {
        left: 8px;
        top: 0%;
        width: 27px;
        height: 27px;
        animation: moveToTop 2s infinite linear;
      }

      &:nth-child(2) {
        left: 18px;
        top: 0%;
        width: 25px;
        height: 25px;
        animation: moveToTop 4s infinite linear;
      }

      &:nth-child(3) {
        left: 27px;
        top: 0%;
        width: 25px;
        height: 25px;
        animation: moveToTop 9s infinite linear;
      }

      &:nth-child(4) {
        left: 38px;
        top: 0%;
        width: 25px;
        height: 25px;
        animation: moveToTop 7s infinite linear;
      }

      &:nth-child(5) {
        left: 50px;
        top: 0%;
        width: 25px;
        height: 25px;
        animation: moveToTop 5s infinite linear;
      }

      &:nth-child(6) {
        left: 70px;
        top: 0%;
        width: 23px;
        height: 23px;
        animation: moveToTop 3s infinite linear;
      }

      &:nth-child(7) {
        left: 80px;
        top: 0%;
        width: 23px;
        height: 23px;
        animation: moveToTop 5s infinite linear;
      }
    }
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

// 改变色相值(颜色)动画
@keyframes changeColor {
  0% {
    filter: contrast(35) hue-rotate(0deg);
  }

  100% {
    filter: contrast(35) hue-rotate(360deg);
  }
}

@keyframes moveToTop {
  50% {
    top: -120px;
  }
}

// filter样式 over ================
// 歌词滚动样式 start ================
.lyr-audio {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.lyr-container {
  width: 100%;
  height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;

  .lyr-list {
    width: 100%;
    height: calc(100% - 60px);
    transition: all .4s ease;
    transform: translateY(10px);

    &-item {
      height: 36px;
      line-height: 36px;
      text-align: center;
      font-size: 22px;
      transition: all .4s ease;
    }

    .active {
      color: #000;
      transform: scale(1.2);
    }
  }
}


// 歌词滚动样式 over ================
